image: elixir:latest

# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.

services:
  - mysql:latest
  - redis:latest
  - postgres:latest

before_script:
  - mix local.rebar --force
  - mix local.hex --force
  - mix deps.get

mix:
  script:
    - mix test

deploy:
  stage: deploy
  script: echo "Define your deployment script!"
  environment: production
